package com.example.flashsales.mappers;

import com.example.flashsales.entity.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserStateMapper {


    User viewUser(@Param("userId") long userId);

    //修改用户状态
    int updateUserState(@Param("userId") Long userId, @Param("state") int state);
}
